color chooser: Don't show too many custom colors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 11 Sep 2020 12:42:03 +0000 (08:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 11 Sep 2020 12:42:03 +0000 (08:42 -0400)
commitfa9608fd029e17832fd14479c8f02d01fe7759f4
tree0c11db024ebbd0a2c3a7843b1464a1fa88445af9
parent8700e136da9b5e6d3bce5121f8a93ba4694068e1
color chooser: Don't show too many custom colors

The code was hardcoding a fixed number of custom
colors, but we really want to match the number
of columns in the palette(s). Make it so.
gtk/gtkcolorchooserwidget.c